//
//  NSString+MVVMVaild.h
//  MVVMPractice
//
//  Created by iSolar on 2017/12/1.
//  Copyright © 2017年 com.ann.lmj. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (MVVMVaild)

/// 检测字符串是否包含中文
+( BOOL)mvvm_isContainChinese:(NSString *)str;

/// 整形
+ (BOOL)mvvm_isPureInt:(NSString *)string;

/// 浮点型
+ (BOOL)mvvm_isPureFloat:(NSString *)string;

/// 有效的手机号码
+ (BOOL)mvvm_isValidMobile:(NSString *)str;

/// 纯数字
+ (BOOL)mvvm_isPureDigitCharactors:(NSString *)string;

/// 字符串为字母或者数字
+ (BOOL)mvvm_isValidCharacterOrNumber:(NSString *)str;

@end
